/* *****************************************************************************************
 
Made by www.Flashphoner.com, all rights reserved.
These sources can only be used for working with Flashphoner server.
If you want use this to create your own application (separate from Flashphoner server) � 
please contact support@flashphoner.com 

******************************************************************************************/

package com.flashphoner.api
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;
	
	/**
	 * Phone event - describe all phone events
	 * **/
	internal class CallEvent extends CairngormEvent
	{	
		public static const IN:String = "IN";
		public static const OUT:String = "OUT";
		public static const TALK:String = "TALK";
		public static const HOLD:String = "HOLD";
		public static const BUSY:String = "BUSY";
		public static const FINISH:String = "FINISH";
		public static const SESSION_PROGRESS:String = "SESSION_PROGRESS";
		public static const VIDEO_FORMAT_CHANGED:String = "VIDEO_FORMAT_CHANGED";
		
		public var call:Call;	
				
		public function CallEvent(type:String,call:Call):void
		{
			super(type,bubbles,cancelable);
			this.call = call;		
		}
		
	}
}